//
//  SXWeatherMoreModel.m
//  ShiXun
//
//  Created by lanou on 15/11/4.
//  Copyright © 2015年 张琪. All rights reserved.
//

#import "SXWeatherMoreModel.h"

@implementation SXWeatherMoreModel

- (void)setValue:(id)value forKey:(NSString *)key
{
    if ([key isEqualToString:@"info"]) {
        NSDictionary *dict = value;
        self.info = dict[@"day"][1];
        self.hightTemp = dict[@"day"][2];
        self.lowTemp = dict[@"day"][2];
    }
    else
    {
        [super setValue:value forKey:key];
    }
}

@end
